package com.bootdo.common.config;/**
 * @author jafar.tang
 * @date 2018/9/21 11:19
 * @description
 */

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Created on 2018/09/21.
 * Description:
 * Copyright (c) 2018, 成都冰鉴信息科技有限公司
 * All rights reserved.
 *
 * @author jafar.tang
 */
@Configuration
public class SystemDefaultConfig {
    @Value("${system.isMock:true}")
    private boolean isMock;
    @Value("${system.userId:1001}")
    private String userId;
    @Value("${system.defaultHeadUrl:hello.jpg}")
    private String defaultHeadUrl;

    public boolean isMock() {
        return isMock;
    }

    public void setMock(boolean mock) {
        isMock = mock;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDefaultHeadUrl() {
        return defaultHeadUrl;
    }

    public void setDefaultHeadUrl(String defaultHeadUrl) {
        this.defaultHeadUrl = defaultHeadUrl;
    }
}
